package com.whminwei.edu.api.dc.dto.fspn.school;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 获取房间用户信息响应
 * 包括办公室-教师、宿舍-学生、教室-班级
 *
 * @author zhangjq
 * @since 2024-05-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcRoomUserFspn {

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcRoomUser {
        /**
         * 房间
         */
        private String roomId;
        /**
         * 使用者列表
         */
        private List<String> userList;
    }

    /**
     * 房间使用者列表
     */
    private List<DcRoomUser> roomUserList;
}
